﻿using System;
using System.Runtime.Serialization;

namespace TestingConcurrencyBenchmark.Exceptions
{
    /// <summary>
    /// An Exception that is usually thrown when a racecondition has been found
    /// </summary>
    [Serializable]
    public class RaceConditionException : Exception
    {
        public RaceConditionException(string message) : base(message)
        {
        }

        public RaceConditionException(SerializationInfo info, StreamingContext ctxt) : base(info, ctxt)
        {
        }
    }
}